import React from 'react'
import './index.css'

let Icon = props => <span className={["iconfont","icon-"+props.name].join(' ')} onClick={props.click}></span>

Icon.defaultProps = { 
    name:''
}
export default Icon